package com.training.content.domain;

import com.training.common.annotation.Excel;
import com.training.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 审核记录对象 check_record
 * 
 * @author training
 * @date 2021-10-25
 */
public class CheckRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long checkId;

    /** 审核类型（1：公司审核，2：员工审核） */
    @Excel(name = "审核类型", readConverterExp = "1=：公司审核，2：员工审核")
    private Long checkType;

    /** 审核目标Id */
    @Excel(name = "审核目标Id")
    private Long targetId;

    /** 审核目标名称 */
    @Excel(name = "审核目标名称")
    private Long targetName;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String postName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 身份证号/信用编码 */
    @Excel(name = "身份证号/信用编码")
    private String cardNumber;

    /** 行业名称 */
    @Excel(name = "行业名称")
    private String industryName;

    /** 发起员工Id */
    @Excel(name = "发起员工Id")
    private Long userId;

    /** 审核状态 0未审核 1通过 2驳回 */
    @Excel(name = "审核状态 0未审核 1通过 2驳回")
    private Long status;

    /** 审核人员 */
    @Excel(name = "审核人员")
    private String auditName;

    /** 审核人员Id */
    @Excel(name = "审核人员Id")
    private Long auditId;

    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }
    public void setCheckType(Long checkType) 
    {
        this.checkType = checkType;
    }

    public Long getCheckType() 
    {
        return checkType;
    }
    public void setTargetId(Long targetId) 
    {
        this.targetId = targetId;
    }

    public Long getTargetId() 
    {
        return targetId;
    }
    public void setTargetName(Long targetName) 
    {
        this.targetName = targetName;
    }

    public Long getTargetName() 
    {
        return targetName;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setPostName(String postName) 
    {
        this.postName = postName;
    }

    public String getPostName() 
    {
        return postName;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setCardNumber(String cardNumber) 
    {
        this.cardNumber = cardNumber;
    }

    public String getCardNumber() 
    {
        return cardNumber;
    }
    public void setIndustryName(String industryName) 
    {
        this.industryName = industryName;
    }

    public String getIndustryName() 
    {
        return industryName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setAuditName(String auditName) 
    {
        this.auditName = auditName;
    }

    public String getAuditName() 
    {
        return auditName;
    }
    public void setAuditId(Long auditId) 
    {
        this.auditId = auditId;
    }

    public Long getAuditId() 
    {
        return auditId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("checkId", getCheckId())
            .append("checkType", getCheckType())
            .append("targetId", getTargetId())
            .append("targetName", getTargetName())
            .append("deptName", getDeptName())
            .append("postName", getPostName())
            .append("phoneNumber", getPhoneNumber())
            .append("cardNumber", getCardNumber())
            .append("industryName", getIndustryName())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("auditName", getAuditName())
            .append("auditId", getAuditId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
